home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 …ember: Reference Library / Apple Developer Reference Library (December 1999) (Disk 1).iso / mac / Technical Documentation / Develop / develop Issue 29 / develop Issue 29 code / Newton Web Server / nHTTPd ƒ / protoTCPServer Definitions < prev    next >
Encoding:
Text File  |  1996-07-12  |  888 b   |  31 lines  |  [TEXT/NTP1]

  1. /*
  2.  * © 1996 Ray Rischpater for AllPen Software, Inc.
  3.  * All Rights Reserved.
  4.  *
  5.  * This code is SAMPLE CODE and may not be included in other
  6.  * works without the following message being present in the
  7.  * about box of your application and wherever else your product
  8.  * makes acknowledgements to contributors:
  9.  *
  10.  * "Parts of this application © 1996 by Ray Rischpater
  11.  *  for AllPen Software, Inc."
  12.  * 
  13.  * No warranty, express or implied, is made regarding
  14.  * this software, including fitness of purpose.  While
  15.  * every effort has been made to ensure that this software
  16.  * is complete, the end user of this software bears sole
  17.  * responsibility for the functionality of this software.
  18.  */
  19. DefineGlobalConstant('kProtoCallbacks, 
  20.     {
  21.         _proto:
  22.         {
  23.             fStart: nil,
  24.             fStop: nil,
  25.         }
  26.     });
  27.  
  28.  
  29. DefineGlobalConstant('kDestinationPort, 80);
  30. DefineGlobalConstant('kCancellationException, -16005);
  31.